package com.woniuxy.controller.form;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("新增菜品参数")
public class FoodVarietyInsertForm {


    /**
     * 菜品名字
     */
    @NotNull
    @ApiModelProperty("菜品名称")
    private String foodName;

    /**
     * 简介
     */
    @ApiModelProperty("菜品简介")
    private String synopsis;

    /**
     * 详细信息
     */
    @ApiModelProperty("菜品详情")
    private String detailInfo;

    /**
     * 售价
     */
    @NotNull
    @ApiModelProperty("菜品价格")
    private BigDecimal price;

    /**
     * 封面图片
     */
    @ApiModelProperty("菜品封面")
    private String coverPhoto;

    /**
     * 菜品类别id
     */
    @NotNull
    @ApiModelProperty("菜品类别Id")
    private Integer typeId;


}
